/*! * Meteor Mega Menus (https://apps.shopify.com/meteor-mega-menus) * Author: Helium Development, heliumdev.com * Version: 4.5.2 * * YOU SHOULD NOT BE EDITTING THIS FILE. CHANGES WILL BE OVERWRITTEN ON SAVE! * For CSS changes, please use Meteor's built-in CSS editor, which applies saved changes directly. */ !function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/packs/",t(t.s=665)}([function(e,t,n){var i=n(6),r=n(47),a=n(28),l=n(42),o=n(35),u=function(e,t,n){var s,c,f,d,m=e&u.F,p=e&u.G,h=e&u.S,v=e&u.P,g=e&u.B,b=p?i:h?i[t]||(i[t]={}):(i[t]||{}).prototype,y=p?r:r[t]||(r[t]={}),_=y.prototype||(y.prototype={});p&&(n=t);for(s in n)c=!m&&b&&void 0!==b[s],f=(c?b:n)[s],d=g&&c?o(f,i):v&&"function"==typeof f?o(Function.call,f):f,b&&l(b,s,f,e&u.U),y[s]!=f&&a(y,s,d),v&&_[s]!=f&&(_[s]=f)};i.core=r,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},,function(e,t){e.exports=function(e,t){return"rgba("+t.data.root.settings["color_"+e]+")"}},,function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var i=n(4);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},,,,function(e,t,n){var i=n(117)("wks"),r=n(52),a=n(6).Symbol,l="function"==typeof a;(e.exports=function(e){return i[e]||(i[e]=l&&a[e]||(l?a:r)("Symbol."+e))}).store=i},function(e,t,n){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n0?r(i(e),9007199254740991):0}},function(e,t,n){e.exports=n(320).default},,function(e,t,n){var i=n(5),r=n(281),a=n(90),l=Object.defineProperty;t.f=n(19)?Object.defineProperty:function(e,t,n){if(i(e),t=a(t,!0),i(n),r)try{return l(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},,,function(e,t,n){e.exports=!n(12)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";function i(e){return f[e]}function r(e){for(var t=1;t":">",'"':""","'":"'","`":"`","=":"="},d=/[&<>"'`=]/g,m=/[&<>"'`=]/,p=Object.prototype.toString;t.toString=p;var h=function(e){return"function"==typeof e};h(/x/)&&(t.isFunction=h=function(e){return"function"==typeof e&&"[object Function]"===p.call(e)}),t.isFunction=h;var v=Array.isArray||function(e){return!(!e||"object"!=typeof e)&&"[object Array]"===p.call(e)};t.isArray=v},function(e,t,n){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r=n(217),a=n.n(r),l=n(11),o=n(270),u=n(272),s=n(271),c=Object.assign||function(e){for(var t=1;t-1?void 0:e}).filter(Boolean),e})}},{key:"getDefaultSettings",value:function(){var t={};return this.schema.forEach(function(n){n.fields.forEach(function(n){t[n.id]=n.default,e.shouldAppendUnitToValue(n.default,n.unit)&&(t[n.id]+=n.unit)})}),t}},{key:"handleSubLinkClick",value:function(e,t){var n=t.getAttribute("href");MeteorMenu.isTouchDevice&&t.hasAttribute("data-m-touch-hover")?e.preventDefault():"true"===this.globalSettings.external_links_in_new_tab&&t.hostname!==window.location.hostname?(e.preventDefault(),window.open(n,"_blank","noopener,noreferrer")):window.location=n}},{key:"migrateTemplateSettings",value:function(e){var t=c({},this.defaultSettings);return o.a&&(e=n.i(o.a)(e,this.schema)),u.a&&(e=n.i(u.a)(e,this.schema)),n.i(s.a)(e,this.schema),c(t,e)}},{key:"attachMenuData",value:function(e){var t=e.settings,n=this;this.$menu.setAttribute("data-meteor-template",this.handle),this.$menu.className="meteor-menu",this.$menu.setAttribute("data-meteor-id",e.id||""),this.$menu.setAttribute("data-meteor-action",t.action),this.$menu.setAttribute("data-meteor-animation",t.animation),this.$menu.setAttribute("data-meteor-center-content",t.center_menu_content),"vertical"===this.handle&&this.$menu.setAttribute("data-meteor-stack-mobile-links",t.stack_mobile_links),this.$menu.querySelectorAll("a").forEach(function(e){e.setAttribute("data-m-link",""),e.hasAttribute("data-no-nav")||e.addEventListener("click",function(t){n.handleSubLinkClick(t,e)})})}},{key:"render",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.settings=this.migrateTemplateSettings(e.settings,this.schema),e.global_settings=MeteorMenu.data.settings;var t=document.createElement("div");if(t.innerHTML=this.handlebars(e),1!=t.children.length)throw new Error("Template "+this.handle+" must have only one container");return this.$menu&&(this.$prevMenu=this.$menu.cloneNode()),this.$menu=t.children[0],this.attachMenuData(e),this.afterRender(this.$menu,e),this.$menu}}],[{key:"exists",value:function(e){return!!a.a.templates.find(function(t){return t.handle==e})}},{key:"shouldAppendUnitToValue",value:function(e,t){return!!t&&("number"==typeof parseInt(e)&&-1==(""+e).indexOf(t))}},{key:"getSchemaField",value:function(e,t){var n=void 0;return t.forEach(function(t){n||(n=t.fields.find(function(t){return t.id==e}))}),n}}]),e}();t.a=d},function(e,t){function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:"info";n(this,e),this._level=t}return i(e,[{key:"log",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"notice",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n="black";switch(e){case"warn":n="#ea380f";break;case"info":n="#aaa";break;case"notice":n="#5801e3"}var i="\n background: "+n+";\n padding: 2px 5px;\n border-radius: 3px;\n color: white;",r="\n color: "+n+";",a=["%cMeteor%c "+t[0],i,r];t.shift(),console.log.apply(null,a.concat(t))}},{key:"info",value:function(){this.shouldLog("info")&&this.log("info",Array.from(arguments))}},{key:"notice",value:function(e){this.shouldLog("info")&&this.log("notice",Array.from(arguments))}},{key:"warn",value:function(e){this.shouldLog("warn")&&this.log("warn",Array.from(arguments))}},{key:"shouldLog",value:function(e){return r[e]>=r[this._level]}}]),e}(),l=sessionStorage.getItem("meteor:logLevel")||"warn";e.exports=new a(l)},,function(e,t,n){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r=n(127),a=(n(93),n(22)),l=n.n(a),o=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]&&arguments[1],n=new r.a({title:e.title,path:e.objectPath,objectId:e.objectId});if(!u.find(function(t){return e[t]}))return null;var i=[];this.links.forEach(function(r){var a=u.filter(function(e){var t=n[e],i=r[e];return!!t&&(Array.isArray(i)?i.includes(t):(t||"")==(i||""))}),o=a.length>0;t&&(o=a.includes("title")&&a.includes("path")),o&&(i.push({link:r,matchingProps:a}),l.a.info("'"+e.title+"' matched link '"+r.title+"'",a))}),this.sortLinks(i);var a=i[0];return a?a.link.ref:null}},{key:"sortLinks",value:function(e){e.sort(function(e,t){var n=t.matchingProps.length-e.matchingProps.length;if(0==n){var i=0;return u.find(function(n){return 0!=(i=t.matchingProps.indexOf(n)-e.matchingProps.indexOf(n))}),i}return n})}}],[{key:"fromElements",value:function(t){return new e(t.map(function(e){return r.a.fromElement(e)}))}},{key:"whichLink",value:function(t,n,i){return n=n.map(function(e){return new r.a({title:e.title,path:e.url,objectId:e.object_id},e)}),new e(n).findLink({title:t.title,objectPath:t.object_path,objectId:t.object_id},i)}}]),e}();t.a=s},function(e,t,n){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r=n(22),a=n.n(r),l=n(273),o=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};i.detail||(i.detail={}),void 0==i.bubbles&&(i.bubbles=!0),i.detail.originalEvent=n;var r=new CustomEvent("meteor:"+e,i);return t.dispatchEvent(r),a.a.info("Dispatching 'meteor:"+e+"' event",r),r}},{key:"listenForMouseEnter",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(i)return this.createMouseIntentListener(e,t,i);e.addEventListener("mouseenter",function(e){MeteorMenu.isTouchDevice||t(e)},n),this.listenForTouchEnd(e,t,n)}},{key:"listenForTouchEnd",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.addEventListener("touchend",function(e){MeteorMenu.isTouchDevice&&t(e)},n)}},{key:"listenForClick",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.addEventListener("click",function(e){MeteorMenu.isTouchDevice||t(e)},n);var i=void 0,r=!1;e.addEventListener("touchstart",function(e){clearTimeout(i),r=!1}),e.addEventListener("touchmove",function(e){r=!0}),e.addEventListener("touchend",function(e){MeteorMenu.isTouchDevice&&!r&&(i=setTimeout(function(){t(e)},100))},n)}},{key:"createMouseIntentListener",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i={target:e,callback:t};return i=o(i,n),new l.a(i)}}]),e}();t.a=s},,function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var i=n(16),r=n(51);e.exports=n(19)?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var i=n(48);e.exports=function(e){return Object(i(e))}},,function(e,t,n){var i=n(0),r=n(47),a=n(12);e.exports=function(e,t){var n=(r.Object||{})[e]||Object[e],l={};l[e]=t(n),i(i.S+i.F*a(function(){n(1)}),"Object",l)}},function(e,t,n){var i=n(200),r=n(48);e.exports=function(e){return i(r(e))}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=t.data.root.settings;if(e)return"cover"==n.image_size?e.large:e.medium}},function(e,t,n){var i=n(46);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var i=n(89),r=n(51),a=n(32),l=n(90),o=n(27),u=n(281),s=Object.getOwnPropertyDescriptor;t.f=n(19)?s:function(e,t){if(e=a(e),t=l(t,!0),u)try{return s(e,t)}catch(e){}if(o(e,t))return r(!i.f.call(e,t),e[t])}},function(e,t,n){"use strict";if(n(19)){var i=n(49),r=n(6),a=n(12),l=n(0),o=n(208),u=n(302),s=n(35),c=n(61),f=n(51),d=n(28),m=n(65),p=n(43),h=n(13),v=n(301),g=n(67),b=n(90),y=n(27),_=n(109),k=n(4),w=n(29),x=n(201),E=n(87),S=n(64),M=n(88).f,L=n(209),A=n(52),O=n(10),P=n(86),T=n(195),j=n(118),C=n(155),I=n(63),z=n(113),F=n(116),$=n(194),N=n(276),H=n(16),D=n(36),R=H.f,B=D.f,W=r.RangeError,q=r.TypeError,V=r.Uint8Array,U=Array.prototype,G=u.ArrayBuffer,Y=u.DataView,Q=P(0),K=P(2),J=P(3),X=P(4),Z=P(5),ee=P(6),te=T(!0),ne=T(!1),ie=C.values,re=C.keys,ae=C.entries,le=U.lastIndexOf,oe=U.reduce,ue=U.reduceRight,se=U.join,ce=U.sort,fe=U.slice,de=U.toString,me=U.toLocaleString,pe=O("iterator"),he=O("toStringTag"),ve=A("typed_constructor"),ge=A("def_constructor"),be=o.CONSTR,ye=o.TYPED,_e=o.VIEW,ke=P(1,function(e,t){return Me(j(e,e[ge]),t)}),we=a(function(){return 1===new V(new Uint16Array([1]).buffer)[0]}),xe=!!V&&!!V.prototype.set&&a(function(){new V(1).set({})}),Ee=function(e,t){var n=p(e);if(n<0||n%t)throw W("Wrong offset!");return n},Se=function(e){if(k(e)&&ye in e)return e;throw q(e+" is not a typed array!")},Me=function(e,t){if(!(k(e)&&ve in e))throw q("It is not a typed array constructor!");return new e(t)},Le=function(e,t){return Ae(j(e,e[ge]),t)},Ae=function(e,t){for(var n=0,i=t.length,r=Me(e,i);i>n;)r[n]=t[n++];return r},Oe=function(e,t,n){R(e,t,{get:function(){return this._d[n]}})},Pe=function(e){var t,n,i,r,a,l,o=w(e),u=arguments.length,c=u>1?arguments[1]:void 0,f=void 0!==c,d=L(o);if(void 0!=d&&!x(d)){for(l=d.call(o),i=[],t=0;!(a=l.next()).done;t++)i.push(a.value);o=i}for(f&&u>2&&(c=s(c,arguments[2],2)),t=0,n=h(o.length),r=Me(this,n);n>t;t++)r[t]=f?c(o[t],t):o[t];return r},Te=function(){for(var e=0,t=arguments.length,n=Me(this,t);t>e;)n[e]=arguments[e++];return n},je=!!V&&a(function(){me.call(new V(1))}),Ce=function(){return me.apply(je?fe.call(Se(this)):Se(this),arguments)},Ie={copyWithin:function(e,t){return N.call(Se(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return X(Se(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return $.apply(Se(this),arguments)},filter:function(e){return Le(this,K(Se(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return Z(Se(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return ee(Se(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){Q(Se(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return ne(Se(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return te(Se(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return se.apply(Se(this),arguments)},lastIndexOf:function(e){return le.apply(Se(this),arguments)},map:function(e){return ke(Se(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return oe.apply(Se(this),arguments)},reduceRight:function(e){return ue.apply(Se(this),arguments)},reverse:function(){for(var e,t=this,n=Se(t).length,i=Math.floor(n/2),r=0;r1?arguments[1]:void 0)},sort:function(e){return ce.call(Se(this),e)},subarray:function(e,t){var n=Se(this),i=n.length,r=g(e,i);return new(j(n,n[ge]))(n.buffer,n.byteOffset+r*n.BYTES_PER_ELEMENT,h((void 0===t?i:g(t,i))-r))}},ze=function(e,t){return Le(this,fe.call(Se(this),e,t))},Fe=function(e){Se(this);var t=Ee(arguments[1],1),n=this.length,i=w(e),r=h(i.length),a=0;if(r+t>n)throw W("Wrong length!");for(;a255?255:255&i),r.v[m](n*t+r.o,i,we)},O=function(e,t){R(e,t,{get:function(){return L(this,t)},set:function(e){return A(this,t,e)},enumerable:!0})};y?(p=n(function(e,n,i,r){c(e,p,s,"_d");var a,l,o,u,f=0,m=0;if(k(n)){if(!(n instanceof G||"ArrayBuffer"==(u=_(n))||"SharedArrayBuffer"==u))return ye in n?Ae(p,n):Pe.call(p,n);a=n,m=Ee(i,t);var g=n.byteLength;if(void 0===r){if(g%t)throw W("Wrong length!");if((l=g-m)<0)throw W("Wrong length!")}else if((l=h(r)*t)+m>g)throw W("Wrong length!");o=l/t}else o=v(n),l=o*t,a=new G(l);for(d(e,"_d",{b:a,o:m,l:l,e:o,v:new Y(a)});f0?i:n)(e)}},function(e,t,n){"use strict";function i(e,t){var n=t&&t.loc,a=void 0,l=void 0;n&&(a=n.start.line,l=n.start.column,e+=" - "+a+":"+l);for(var o=Error.prototype.constructor.call(this,e),u=0;uk;k++)if((d||k in b)&&(h=b[k],v=y(h,k,g),e))if(n)w[k]=v;else if(v)switch(e){case 3:return!0;case 5:return h;case 6:return k;case 2:w.push(h)}else if(c)return!1;return f?-1:s||c?c:w}}},function(e,t,n){var i=n(5),r=n(539),a=n(198),l=n(205)("IE_PROTO"),o=function(){},u=function(){var e,t=n(197)("iframe"),i=a.length;for(t.style.display="none",n(280).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("